using System.Collections.Generic;

namespace BLGenerator.BusinessLogic
{
    public class EntityCollection : List<Entity>
    {
        public bool HasTableName(string tableName)
        {
            foreach (Entity entity in this)
            {
                if (entity.TableName == tableName)
                    return true;
            }
            return false;
        }
    }
}